package com.aptemo.webetek.client.events;

import com.google.gwt.event.shared.GwtEvent;

public class GroupChangedEvent  extends GwtEvent<GroupChangedEventHandler> {

	public static final Type<GroupChangedEventHandler> TYPE = new GwtEvent.Type<GroupChangedEventHandler>();
	private String mgroupname;

	public GroupChangedEvent(String groupname) {
		mgroupname = groupname;
	}

	public String getGroupName() {
		return mgroupname;
	}

	@Override
	protected void dispatch(GroupChangedEventHandler handler) {
		handler.onGroupChanged(this);
	}

	@Override
	public com.google.gwt.event.shared.GwtEvent.Type<GroupChangedEventHandler> getAssociatedType() {
		return TYPE;
	}

}
